package com.wgts.wgts.netmodle.resp;

import android.os.Parcel;
import android.os.Parcelable;

/*
 *
 *
 *   data:2018/10/1520:43
 *
 */public class StoreMsgEntity implements Parcelable{
     public String shopName;
     public String shopImage;
     public String shopDesc;
     public String shopCode;

    public StoreMsgEntity(){}

    protected StoreMsgEntity(Parcel in) {
        shopName = in.readString();
        shopImage = in.readString();
        shopDesc = in.readString();
        shopCode = in.readString();
    }

    public static final Creator<StoreMsgEntity> CREATOR = new Creator<StoreMsgEntity>() {
        @Override
        public StoreMsgEntity createFromParcel(Parcel in) {
            return new StoreMsgEntity(in);
        }

        @Override
        public StoreMsgEntity[] newArray(int size) {
            return new StoreMsgEntity[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(shopName);
        dest.writeString(shopImage);
        dest.writeString(shopDesc);
        dest.writeString(shopCode);
    }
}
